From: Keir Fraser Date: Fri, 8 Jan 2010 11:44:58 +0000 (+0000) Subject: libxenlight: don't free ifname, can lead to double free X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12770 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=aa73db2addd9b9f6c23e490eebd5dd6d650a72c3;p=xen.git libxenlight: don't free ifname, can lead to double free ifname is mostly handled directly in xl now, do not attempts to free this. Signed-off-by: Vincent Hanquez --- diff --git a/tools/libxl/xl.c b/tools/libxl/xl.c index 79d2f6cb88..996965bc22 100644 --- a/tools/libxl/xl.c +++ b/tools/libxl/xl.c @@ -888,9 +888,6 @@ start: } close(logfile); - for (i = 0; i < num_vifs; i++) { - free(vifs[i].ifname); - } free(disks); free(vifs); free(vfbs);